﻿using System;
using System.Collections.Generic;

namespace NetCoreCMS.Models
{
    /// <summary>
    /// 文章类别表
    /// </summary>    
    public partial class Article_category
    {
        public int id { get; set; }
        /// <summary>
        /// 频道ID,1新闻，2商品
        /// </summary>
        public int channel_id { get; set; } = 0;
        /// <summary>
        /// 类别标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 父类别ID
        /// </summary>
        public int parent_id { get; set; } = 0;
        /// <summary>
        /// 类别ID列表(逗号分隔开)
        /// </summary>
        public string class_list { get; set; }
        /// <summary>
        /// 类别深度
        /// </summary>
        public int class_layer { get; set; } = 0;
        /// <summary>
        /// 排序数字
        /// </summary>
        public int sort_id { get; set; } = 0;
        /// <summary>
        /// URL跳转地址
        /// </summary>
        public string link_url { get; set; }
        /// <summary>
        /// 图片地址
        /// </summary>
        public string img_url { get; set; }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// SEO标题
        /// </summary>
        public string seo_title { get; set; }
        /// <summary>
        /// SEO关健字
        /// </summary>
        public string seo_keywords { get; set; }
        /// <summary>
        /// SEO描述
        /// </summary>
        public string seo_description { get; set; }
        /// <summary>
        /// 状态0正常1禁用
        /// </summary>
        public int is_lock { get; set; } = 0;

        /// <summary>
        /// 栏目所选规格
        /// </summary>
        public List<Article_category_spec> category_specs { get; set; }
    }
}